package com.jeeplus.modules.web.entity;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.modules.sys.entity.User;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author liangbing
 * @version 1.0
 * @date 2021/5/20 22:25
 * @description 幺久呼叫-服务生关联关系表
 */
public class YjRoomCallsWaiters extends DataEntity<YjRoomCallsWaiters> {
    private static final long serialVersionUID = 2L;

    /**
     * 呼叫信息
     */
    @NotNull(message = "呼叫信息不能为空")
    private YjRoomCalls roomCalls;

    /**
     * 棋牌室服务生
     */
    private YjMahjongHallWaiters mahjongHallWaiters;

    /**
     * 棋牌室服务生手机号（冗余）
     */
    private String mobile;

    public YjRoomCalls getRoomCalls() {
        return roomCalls;
    }

    public void setRoomCalls(YjRoomCalls roomCalls) {
        this.roomCalls = roomCalls;
    }

    public YjMahjongHallWaiters getMahjongHallWaiters() {
        return mahjongHallWaiters;
    }

    public void setMahjongHallWaiters(YjMahjongHallWaiters mahjongHallWaiters) {
        this.mahjongHallWaiters = mahjongHallWaiters;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @Override
    public void preInsert() {
        super.preInsert();
    }

    @Override
    public void preUpdate() {
        super.preUpdate();
    }

    @Override
    public String getRemarks() {
        return super.getRemarks();
    }

    @Override
    public void setRemarks(String remarks) {
        super.setRemarks(remarks);
    }

    @Override
    public User getCreateBy() {
        return super.getCreateBy();
    }

    @Override
    public void setCreateBy(User createBy) {
        super.setCreateBy(createBy);
    }

    @Override
    public Date getCreateDate() {
        return super.getCreateDate();
    }

    @Override
    public void setCreateDate(Date createDate) {
        super.setCreateDate(createDate);
    }

    @Override
    public User getUpdateBy() {
        return super.getUpdateBy();
    }

    @Override
    public void setUpdateBy(User updateBy) {
        super.setUpdateBy(updateBy);
    }

    @Override
    public Date getUpdateDate() {
        return super.getUpdateDate();
    }

    @Override
    public void setUpdateDate(Date updateDate) {
        super.setUpdateDate(updateDate);
    }

    @Override
    public String getDelFlag() {
        return super.getDelFlag();
    }

    @Override
    public void setDelFlag(String delFlag) {
        super.setDelFlag(delFlag);
    }
}
